package org.kms.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Date;
import java.util.List;

public class Child {
    private Integer pid;
    private String pName;
    private String name;
    private String pSex;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date pDate;
    private String contact;
    private String hobby;
    private String home;
    private String pimg;
    private String pNation;
    private Integer gradeId;
    private Grade grade;
    private Integer cmId;
    private Manage manage;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date eDate;
    private String state;
    private String pDrop;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dropDate;
    private Integer glId;
    private String dpay;
    private String cRemarks;
    private List<Parents> parents;

    private List<Fxinfo> fxinfos;

    public List<Fxinfo> getFxinfos() {
        return fxinfos;
    }

    public void setFxinfos(List<Fxinfo> fxinfos) {
        this.fxinfos = fxinfos;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Parents> getParents() {
        return parents;
    }

    public void setParents(List<Parents> parents) {
        this.parents = parents;
    }

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    public Manage getManage() {
        return manage;
    }

    public void setManage(Manage manage) {
        this.manage = manage;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpSex() {
        return pSex;
    }

    public void setpSex(String pSex) {
        this.pSex = pSex;
    }
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    public Date getpDate() {
        return pDate;
    }

    public void setpDate(Date pDate) {
        this.pDate = pDate;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    public String getPimg() {
        return pimg;
    }

    public void setPimg(String pimg) {
        this.pimg = pimg;
    }

    public String getpNation() {
        return pNation;
    }

    public void setpNation(String pNation) {
        this.pNation = pNation;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public Integer getCmId() {
        return cmId;
    }

    public void setCmId(Integer cmId) {
        this.cmId = cmId;
    }
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    public Date geteDate() {
        return eDate;
    }

    public void seteDate(Date eDate) {
        this.eDate = eDate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getpDrop() {
        return pDrop;
    }

    public void setpDrop(String pDrop) {
        this.pDrop = pDrop;
    }
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    public Date getDropDate() {
        return dropDate;
    }

    public void setDropDate(Date dropDate) {
        this.dropDate = dropDate;
    }

    public Integer getGlId() {
        return glId;
    }

    public void setGlId(Integer glId) {
        this.glId = glId;
    }

    public String getDpay() {
        return dpay;
    }

    public void setDpay(String dpay) {
        this.dpay = dpay;
    }

    public String getcRemarks() {
        return cRemarks;
    }

    public void setcRemarks(String cRemarks) {
        this.cRemarks = cRemarks;
    }
}
